updating oE rad2deg

rad2deg

include math.e 
namespace math 
public function rad2deg(object x) 

converts an angle measured in radians to an angle measured in degrees.

Parameters:
  1. angle : an object, all atoms of which will be converted, no matter how deeply nested.
Returns:

An object, the same shape as angle, all atoms of which were multiplied by 180/PI.

Comments:

This function may be applied to an atom or sequence. A flat angle is PI radians and 180 degrees.

arcsin, arccos and arctan return angles in radians.

Example 1:
x = rad2deg(3.385938749) 
-- x is 194 
See Also:

deg2rad

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu